Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 7 - View-Related Objects


About View Device Objects

A view device object represents an output device such as a monitor or printer. When a shape is drawn, it appears on a view device, although its actual drawing destination is a view port. The intersection of the view port and view device determine where and how much of the shape is drawn. Figure 7-11 shows how a single view device can display more than one view port, and how a single view port can overlap more than one view device.

Figure 7-11 View ports overlapping view devices

For drawing, you do not need to be concerned whether a view port overlaps one or more separate view devices; you just draw to the view port and QuickDraw GX handles it for you. On the other hand, if a view port does not intersect any device, the shapes drawn to the view port are not rendered at all.


Subtopics
View Device Properties
The Default View Device Object
View Device Objects and Physical Devices

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996